import request from '@/utils/request';

// 获取资产概览数据（上面5个小模块）
export function getAssetOverview () {
    return request({
        url: '/demo/assetOverview/collectCount',
        method: 'get'
    });
}

// 获取特殊资产预警列表数据
export function getSpecAssetList () {
    return request({
        url: '/demo/assetOverview/getSpecAssetList?pageSize=15&pageNum=1&orderByColumn=count&isAsc=desc',
        method: 'get',
    });
}

// 获取资产预警趋势数据
export function getWarningTrends (warningType = '') {
    return request({
        url: '/demo/assetOverview/selectWarningRecordsByType',
        method: 'get',
        params: {
            warningType
        }
    });
} 